package k2_oop.p2_inheritAndPolymorphic.demo07;

public class Dog extends Animal{

    @Override
    public void eat() {
        System.out.println("狗吃骨头");
    }

    public void protectHouse(){
        System.out.println("狗可以看家");
    }
}
